#pragma once
#include <vector>
#include "NodePoint.h"
#include "CPoint.h"

// 障碍物类
class Obstacles {
public:
	int index;		//障碍物索引，0为首个
	std::vector<NodePoint*> outline;		// 轮廓
	std::vector<NodePoint*> m_pts;			// 区域点
	std::vector<CPoint*> cornerPts;		// 计划角点
	bool is_free = true;

	// 构造函数，初始化障碍物对象
	Obstacles(int _index) : index(_index) {}
	
};
